IT Technical Support for Developers

Tally Request XMLs

Share

Sales Register all Sales Voucher Type

How to export All Sales data from tally using XML request

Request for all Sales voucher type details in XML Format from Tally using Collection Object.

<ENVELOPE>
<HEADER>
   <VERSION>1</VERSION>
   <TALLYREQUEST>Export</TALLYREQUEST>
   <TYPE>Collection</TYPE>
   <ID>List of All Sales Vouchers</ID>
</HEADER>
<BODY>
<DESC>

  <STATICVARIABLES>
    <SVCURRENTCOMPANY>company</SVCURRENTCOMPANY>
    <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT>
    <SVFROMDATE TYPE="Date">#fromdate</SVFROMDATE>
<SVTODATE TYPE="Date">#todate</SVTODATE>

</STATICVARIABLES>

<TDL>
<TDLMESSAGE>


<COLLECTION NAME="List of All Sales Vouchers" ISMODIFY="No" ISFIXED="No" ISINITIALIZE="No" ISOPTION="No" ISINTERNAL="No">
    <TYPE>Voucher</TYPE>

   <FETCH>ADDRESS.LIST,DATE,PARTYNAME,LEDGERENTRIES.LIST</FETCH>

</COLLECTION>

 

</TDLMESSAGE>
</TDL>
</DESC>
</BODY>
</ENVELOPE>

Hits: 4247, Rating : ( 5 ) by 1 User(s).